import { pipe } from 'rambda';
import fibonacci from './fibonacci.js'; 
import take from './take.js';
import forEach from './forEach.js';

const generateFibonacci = fibonacci();
pipe(
    take(10),
    forEach(console.log)
)(generateFibonacci);
//0
//1
//1
//2
//3